package com.wkbb.sports.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 体质管理
 * hlife_physical
 * @author 惠普
 * @date 2021-01-19 20:35:08
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PhysicalDto implements Serializable {
	
	
    private Long id;

    @ApiModelProperty(value = "学校id")
    private Long orgId;

    @ApiModelProperty(value = "项目类型(1-跳绳,2-跑步)")
    private Byte projectKind;
    @ApiModelProperty(value = "项目类型(1-跳绳,2-跑步)")
    private String projectKindName;

    @ApiModelProperty(value = "评分标准类型(1-国家标准,2-地方标准,3-自定义标准)")
    private Byte markType;

    @ApiModelProperty(value = "省份id")
    private Integer provinceId;
    
    private String province;

    @ApiModelProperty(value = "城市id")
    private Integer cityId;
    
    private String city;

    @ApiModelProperty(value = "项目模式(5:800米跑步 6:1000米跑步)")
    private Byte modelType;

    @ApiModelProperty(value = "项目名称")
    private String name;

    @ApiModelProperty(value = "项目内容")
    private String remark;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "只读(0可改 1只读)")
    private Byte readStatus;

    @ApiModelProperty(value = "状态(0禁用 1启用)")
    private Byte state;

    @ApiModelProperty(value = "状态(0:无效 1:有效)")
    private Byte status;

    private String createUser;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "修改人")
    private String updateUser;

    @ApiModelProperty(value = "修改时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    private List<PhysicalTargetDto> targetList;

    private List<PhysicalRuleDto> ruleList;
}